package com.niodata.dp.monitor.sharelib.entity.hadoop;

import java.util.List;

/**
 * Created by ndp on 18-1-9.
 */
public class MetricsChart {

  private String name;
  private List<String> times;
  private List<Object> values;
  private String chartType;

  public MetricsChart(String name, List<String> times, List<Object> values) {
    this.name = name;
    this.times = times;
    this.values = values;
    this.chartType = "Line";
  }

  public MetricsChart(String name, List<String> times, List<Object> values, String chartType) {
    this.name = name;
    this.times = times;
    this.values = values;
    this.chartType = chartType;
  }

  public String getChartType() {
    return chartType;
  }

  public void setChartType(String chartType) {
    this.chartType = chartType;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public List<String> getTimes() {
    return times;
  }

  public void setTimes(List<String> times) {
    this.times = times;
  }

  public List<Object> getValues() {
    return values;
  }

  public void setValues(List<Object> values) {
    this.values = values;
  }
}
